package org.jeecg.common.login.parameter;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * 双因子认证参数
 *
 * @author tianyi.jiang
 * @version 1.2.2
 */
@Data
public class DoubleFactorAuthParameter implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 加密串
     */
    @NotEmpty(message = "双因子认证签名为空！")
    private String signature;

    /**
     * 验证码
     */
    @NotEmpty(message = "验证码为空！")
    private String captcha;

}
